-
Notifications
You must be signed in to change notification settings - Fork 25
Issue 63: Upgrade to aws-sdk-java-v2 #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/main/java/org/carlspring/cloud/storage/s3fs/S3FileSystemProvider.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlspring/cloud/storage/s3fs/S3FileSystemProvider.java
Outdated
Show resolved
Hide resolved
5167c30 to
24ae70e
Compare
|
@ptirador : This page will also need to be updated once the documentation pull request is merged: |
|
Nice work @ptirador! :) |
Yeah, we should investigate how we can benefit from the |
|
P.S. I've just merged some build improvements in the |
src/main/java/org/carlspring/cloud/storage/s3fs/S3AccessControlList.java
Outdated
Show resolved
Hide resolved
I agree. This should be created in a follow-up task. |
Rebase done 👍 |
4d01965 to
314dae5
Compare
src/test/java/org/carlspring/cloud/storage/s3fs/S3FileSystemTest.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlspring/cloud/storage/s3fs/S3Iterator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these notes coming from @elerch 's fork?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, some parts are from this fork that you mention. Could be helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ability to head the bucket is the true test that a bucket "exists" for the Principle as listing buckets only shows those that are in the account of the user whereas "head" will work if the bucket has been shared with the Principle from another account.
ba80ea6 to
fd91fc2
Compare
b741167 to
92ea6db
Compare
fixup! Issue-63: Socket Buffer Size Hint not supported in v2.
fixup! Issue-63: Fix tests.
…obtain rest of properties missed.
… fileChannel/seekableByteChannel creation. fixup! Issue-63: Add boolean parameter to use or not a temporary file in the fileChannel/seekableByteChannel creation.
fixup! Issue-63: Remove not valid case for URI.
@carlspring, @steve-todorov : Follow-up task created: #99 |
|
Thanks for your massive work on this pull request! As agreed, I will merge this into the Thanks for reviewing and for all your comments! We've reviewed them and have decided to handle them as separate follow-up tasks. Your guidance has been extremely valuable and much appreciated and we hope you can keep an eye on our future pull requests as well! |
src/main/java/org/carlspring/cloud/storage/s3fs/S3AccessControlList.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlspring/cloud/storage/s3fs/S3Iterator.java
Outdated
Show resolved
Hide resolved
src/test/java/org/carlspring/cloud/storage/s3fs/S3ClientIT.java
Outdated
Show resolved
Hide resolved
src/test/java/org/carlspring/cloud/storage/s3fs/S3FileChannelTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/carlspring/cloud/storage/s3fs/S3FileChannelTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/carlspring/cloud/storage/s3fs/S3FileStoreTest.java
Outdated
Show resolved
Hide resolved
|
@carlspring: Your suggestions have been fixed. |
|
Awesome work, @ptirador ! Thanks again! :) |
Pull Request Description
This pull request closes #63 .
Acceptance Test
mvn clean install -Pintegration-testsstill works.Questions
Does this pull request break backward compatibility?
Does this pull request require other pull requests to be merged first?
Does this require an update of the documentation?
Test classes:
org.carlspring.cloud.storage.s3fsAttributesUtilsTestCacheTestExampleClassExampleClassITFilesITFileSystemsITS3ClientFactoryTestS3ClientITS3FileAttributesTestS3FileChannelTestS3FileStoreTestS3FileSystemTestS3IteratorTestS3SeekableByteChannelTestS3UnitTestBaseS3UtilsITS3UtilsTestS3WalkerTestorg.carlspring.cloud.storage.s3fs.fileSystemProvider:CheckAccessTestCopyTestCreateDirectoryTestDeleteTestGetFileAttributeViewTestGetFileStoreTestGetFileSystemITGetPathTestIsHiddenTestIsSameFileTestMoveTestNewByteChannelITNewByteChannelTestNewDirectoryStreamTestNewFileSystemITNewFileSystemTestNewInputStreamTestNewOutputStreamTestReadAttribuTestestSetAttributeTestorg.carlspring.cloud.storage.s3fs.path:EndsWithTestEqualsTestGetFileNameTestGetKeyTestGetNameTestGetRootTestIteratorTestResolveSiblingTestResolveTestS3PathTestStartsWithTestSubpathTestToUriTestToURLITorg.carlspring.cloud.storage.s3fs.spikeEnvironmentITFileStoreTestInstallProviderTestPathSpecTestProviderSpecTestSpecTestURISpikeTestorg.carlspring.cloud.storage.s3fs.util:BrokenS3FactoryCopyDirVisitorEnvironmentBuilderExposingS3ClientExposingS3ClientFactoryFileAttributeBuilderMockBucketS3ClientMockS3EndpointConstantS3MockFactoryUnsupportedFileStoreAttributeView